import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import marketInfoMge from './modules/marketInfoMge'
import Target from './modules/Target'
import passenger from './modules/passenger'
import transaction from './modules/transaction'
import statisfood from './modules/statisfood'
import home from './modules/home'
import reportData from './modules/reportData'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    settings,
    user,
    marketInfoMge,
    Target,
    passenger,
    transaction,
    statisfood,
    home,
    reportData
  },
  getters
})

export default store
